package com.zr.serviceimpl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zr.dao.InsertEIRDao;
import com.zr.model.Corder;
import com.zr.service.InsertEIRService;
@Service("inEIRseim")
public class InsertEIRServiceImpl implements InsertEIRService{
	@Resource
	private InsertEIRDao inEIRdaim;
	@Override
	public Corder getCorderByOid(int oid) {
		System.out.println(5);
		Corder co=inEIRdaim.findCorderByOid(oid);
		return co;
	}

	@Override
	public void getEir(int seid, int oid, String restartp, String reendp, int crid, int did) {
		System.out.println(6);
		inEIRdaim.findEir(seid, oid, restartp, reendp, crid, did);
		
	}

}
